package com.badger.openfeign;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @EnableEurekaClient 开启eureka的客户端
 * @EnableFeignClients 开启feign的客户端
 * @author liqi
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients
public class OpenfeignApplication {
    public static void main(String[] args) throws Exception {
        SpringApplication.run(OpenfeignApplication.class, args);
    }

}
